<script>
	import Vue from 'vue';
	export default {
		onLaunch: function() {
			// 获取用户系统信息
			uni.getSystemInfo({
				success: e => {
					console.info(
						`设备型号：${e.model}\n屏幕宽度：${e.screenWidth}\n屏幕高度：${e.screenHeight}\n状态栏的高度：${e.statusBarHeight}\n操作系统名称及版本：${
							e.system
						}\n客户端平台：${e.platform}`
					);
					Vue.prototype.screenWidth = e.screenWidth;
					Vue.prototype.screenHeight = e.screenHeight;
				}
			});
		
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
@import 'uview-ui/index.scss';
@import './static/styles/iconfont.css';
@import './static/styles/styles.scss';
</style>
